home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 3.7 / Buddy API Docs.swf / texts / 1550.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  1.6 KB  |  71 lines

  1. 137
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. FolderSize 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows and Macintosh
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baFolderSize returns the size of a folder.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baFolderSize( Folder, FileSpec, SubFolders )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, string, integer. 
  36. --- RECORDSEPARATOR ---
  37. Folder is the folder to get the size of. 
  38. --- RECORDSEPARATOR ---
  39. FileSpec determines what files are included. 
  40. --- RECORDSEPARATOR ---
  41. If SubFolders is true, the size of subfolders is also included.
  42. --- RECORDSEPARATOR ---
  43.  
  44. --- RECORDSEPARATOR ---
  45. Examples:
  46. --- RECORDSEPARATOR ---
  47.  
  48. --- RECORDSEPARATOR ---
  49. Director: 
  50. --- RECORDSEPARATOR ---
  51. size = baFolderSize( "c:\Data", "*.*", 1 ) 
  52. --- RECORDSEPARATOR ---
  53. Authorware: 
  54. --- RECORDSEPARATOR ---
  55. folder := baFolderSize( "c:\\Data", "*.*", 1 )
  56. --- RECORDSEPARATOR ---
  57.  
  58. --- RECORDSEPARATOR ---
  59. Notes:
  60. --- RECORDSEPARATOR ---
  61.  
  62. --- RECORDSEPARATOR ---
  63. On Windows, the FileSpec is a DOS wildcard, eg "*.bmp". Only one type can be 
  64. --- RECORDSEPARATOR ---
  65. specified. Use "*.*" to match all files. 
  66. --- RECORDSEPARATOR ---
  67. On Macintosh, the FileSpec is the four character type code eg "TEXT". Only one 
  68. --- RECORDSEPARATOR ---
  69. type can be specified. Use an empty string or "*.*" to match all files. 
  70. --- RECORDSEPARATOR ---
  71. The size returned will be in kilobytes (1k = 1000 bytes).